import request from "../../utils/request.js";


export const getAllStudent = (index) => {
    return request({
        method: 'GET',
        url: '/student',
        params: {
            pageIndex: index
        }
    })
}
export const addStudent = (data) => {
    return request({
        method: 'post',
        url: '/addstudent',
        params: data
    })
}
